package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.AttachmentTypeBaseDto;
import com.cmc.cloud.cmclink.doc.entity.AttachmentTypeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 属性转换
 *
 * @author lzp
 */
@Mapper
public interface AttachmentTypeConvert {
    AttachmentTypeConvert INSTANCE = Mappers.getMapper(AttachmentTypeConvert.class);

    /**
     * 属性转换
     *
     * @param attachmentTypeDOList
     * @return
     */
    List<AttachmentTypeBaseDto> convertAttachmentTypeBaseDto(List<AttachmentTypeDO> attachmentTypeDOList);
}
